package tt.dz.egobus.servicemanager.bean;


import tt.dz.egobus.base.entity.BaseEntity;
import tt.dz.egobus.bean.BaseBean;

/**
 * @author Anson
 * @date 17-4-14
 * @name 实体类的view层
 * @since 1.0.4
 */
public interface EntityViewVo<E extends BaseEntity ,V extends EntityViewVo> extends BaseBean {

    /**
     * @author Anson
     * @date 17-4-14
     * @name 将当前的vo转换成pojo对象
     * @since 1.0.4
     */
    E convert();

    /**
     *
     * @param pojo 当前转换pojo转化
     * @author Anson
     * @date 17-4-17
     * @name
     * @since 1.0.4
     *
     */
    V view(E pojo);
}
